﻿requirejs.config({
    baseUrl : "./",
    paths : {
        "jquery" : "lib/jquery/jquery-1.11.1.min",
        "bootstrap" : "lib/bootstrap/js/bootstrap.min",
        "moment" : "lib/moment/moment.min",
        "fullcalendar" : "lib/fullcalendar/fullcalendar.min",
        "lang-all" : "lib/fullcalendar/lang-all",
        "history" : "app/history/history",
        "router" : "app/router/router"
    },
    shim: {
        'fullcalendar' : {
            deps: ["jquery","moment"],
            exports: "jQuery"
        },
        "lang-all" : {
            deps: ["fullcalendar"],
            exports: "jQuery"
        },
        'bootstrap': {
            deps: ["lang-all"],
            exports: "jQuery"
        }

    }
});

require(["bootstrap","router"],function($,router) {
    router.init();
    //.append(head.init())
    //.append(labs.init())
    //.append(footer.init());
});